package com.zyg.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zyg.pojo.EchartsData;
import com.zyg.pojo.Permission;
import com.zyg.pojo.User;

import java.util.List;

public interface UserService extends IService<User> {

    IPage<User> listWithDept(IPage<User> page, QueryWrapper<User> queryWrapper);

    List<EchartsData> getDeptIndexData();

    List<Permission> getMenuList();
    List<Permission> getMenuListByUserId(Integer loginId);

}
